package com.yugao.fintech.antelope.shop.model.rqrs.sku;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import com.yugao.fintech.framework.validation.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 商品sku
 *

 */
@Getter
@Setter
@ApiModel(value = "商品sku")
public class SkuReq extends SkuBase {
    @NotNull(message = ValidationCons.NOT_EMPTY, groups = UpdateGroup.class)
    private Long id;
}
